/*

	Copyright(c) 2008 Acatl Pacheco
	e-mail:   acatl.pacheco@gmail.com
		
	This file is part of Teztoc.
	
	Oztoc is free software: you can redistribute it and/or modify
	it under the terms of the GNU Lesser General Public License as
	published by the Free Software Foundation, either version 3 of
	the License, or (at your option) any later version.
	
	Oztoc is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.
	
	You should have received a copy of the GNU Lesser General Public
	License along with Oztoc. If not, see <http://www.gnu.org/licenses/>.
	
*/

package net.teztoc.vo
{
	import flash.utils.getQualifiedClassName;
	
	import mx.utils.UIDUtil;
	
	/**
	 * Value Object that holds references to the elements disalpayed on the
	 * TestHarnessUI componet
	 * */
	public class TestHarnessElementVO
	{
		public var generator:Class;
		public var name:String;
		public var longName:String;
		public var uid:String;
		
		public function TestHarnessElementVO(name:String, generator:Class)
		{
			this.name = name;
			this.generator = generator;
			this.longName = getQualifiedClassName(generator).replace("::",".");
			uid = UIDUtil.createUID();
		}

	}
}